package tsg.laf.eventhorizon;

import tsg.component.Component;
import tsg.component.Label;
import tsg.graphic.Graphics;
import tsg.laf.BasicLabelUI;
import tsg.util.Point;

public abstract class EventHorizonLabelUI extends BasicLabelUI
{
	public void paint(Graphics g, Component parent) 
	{
		Point 	position 	= parent.getPosition();
		String 	text		= ((Label)parent).getText();
		
		g.setColor(parent.getForegroundColor());
		g.setFont(((Label)parent).getFont());
		g.drawString(text, position.getX(), position.getY() + parent.getSize().getHeight());
	}
}
